package com.xianshijian.oauth.userinfo.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @ClassName: ResumeBean
 * @Description: 学生简历
 * @author LiuJianbin
 * @date 2015-1-21 上午9:10:01
 * @history
 * 
 */
@Entity
@Table(name = "t_resume")
public class Resume implements Serializable {

	/**
	 * 用户类型：兼客
	 */
	public static final Integer STUDENT_ACCOUNT_TYPE = 2;
	
	/**
	 * 是否为学生：是
	 */
	public static final Integer IS_STUDENT = 1;
	
	/**
	 * 是否为学生：是
	 */
	public static final Integer NOT_STUDENT = 0;

	/**
	 * 主键Id
	 */
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Long id;
	/**
	 * 用户ID
	 */
	private Long accountId;

	/**
	 * 常住地
	 */
	private String obode;

	/**
	 * 出生年月
	 */
	private Date birthday;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getObode() {
		return obode;
	}

	public void setObode(String obode) {
		this.obode = obode;
	}
}
